package com.centriole.common.entity;

import java.util.List;

/**
 *  功   能： 对外使用的 角色 实体类
 *  创建人：陈默晗
 *  时   间：2018年4月10日上午10:01:18
 */
public class ExRole extends BaseEntity{

    /**
     `roleId` 'UUID主键',
     `roleName` '角色名称',
     */
    private String roleId;
    private String roleName;
    private List<ExPermission> permissions;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public List<ExPermission> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<ExPermission> permissions) {
        this.permissions = permissions;
    }

    @Override
    public String toString() {
        return "ExRole{" +
                "roleId='" + roleId + '\'' +
                ", roleName='" + roleName + '\'' +
                '}';
    }
}
